using BookingSystem.Entities;
using FluentNHibernate.Mapping;

namespace BookingSystem.Mappings
{
    public class BookingMap : ClassMap<Booking>
    {
        public BookingMap()
        {
            Id(x => x.Id);
            Map(x => x.StartDate);
            Map(x => x.EndDate);
            References(x => x.Resource);
            References(x => x.Guest);
            Map(x => x.Archived);
        }
    }
}